/* Drop zone styles */
.dropZone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: var(--spacing-10) var(--spacing-4);
  text-align: center;
  cursor: inherit;
  background-color: transparent;
  border: 1px dashed var(--overlay-20);
  border-radius: var(--border-radius-lg);
  transition: all var(--default-animation-duration)
    var(--default-timing-function);
}

.dropZone:hover {
  background-color: var(--overlay-5);
}

.dropZone:focus-visible {
  outline: 2px solid var(--primary-accent);
  outline-offset: 2px;
  background-color: var(--overlay-5);
  box-shadow: 0px 0px 100px 10px var(--primary-overlay-40);
}

.dropZoneActive {
  background-color: var(--overlay-5);
  border-color: var(--button-primary-background);
}

.dropZoneDisabled {
  pointer-events: none;
  cursor: not-allowed;
}

.dropZoneContent {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dropZoneText {
  margin: 0 0 var(--spacing-2) 0;
  font-size: var(--font-size-6);
  line-height: 1.6;
  color: var(--global-foreground);
}

.dropZoneSubtext {
  margin: 0 0 var(--spacing-4) 0;
  font-size: var(--font-size-5);
  line-height: 1.6;
  color: var(--overlay-60);
}

.selectFileButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--spacing-8);
  padding: 0 var(--spacing-3);
  font-size: var(--font-size-4);
  font-weight: 500;
  line-height: normal;
  color: var(--button-primary-foreground);
  cursor: pointer;
  /* Solid Primary style (default) */
  background-color: var(--button-primary-background);
  border: 1px solid var(--button-primary-background);
  border-radius: var(--border-radius-md);
  transition:
    background-color var(--default-hover-animation-duration)
    var(--default-timing-function),
    border-color var(--default-hover-animation-duration)
    var(--default-timing-function);
}

.selectFileButton:hover:not(.selectFileButtonDisabled) {
  background-color: var(--button-primary-background-hover);
  border-color: var(--button-primary-background-hover);
}

.selectFileButtonOutline {
  color: var(--button-secondary-foreground);
  background-color: transparent;
  border: 1px solid var(--button-border);
}

.selectFileButtonOutline:hover:not(.selectFileButtonDisabled) {
  background-color: var(--button-background-hover);
  border-color: var(--button-border);
}

.selectFileButtonDisabled {
  color: var(--button-disabled-foreground);
  cursor: not-allowed;
  background-color: var(--button-disabled-background);
  border: 1px solid var(--button-border);
}

/* Icon container styles */
.iconContainer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 134px;
  height: 93px;
  margin-bottom: var(--spacing-4);
  transition: all var(--default-animation-duration)
    var(--default-timing-function);
}

/* Extension tags styles */
.extensionTags {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  pointer-events: none;
}

.extensionTag {
  position: absolute;
  display: flex;
  align-items: center;
  height: 21px;
  padding: 0 var(--spacing-1);
  font-family: var(--code-font);
  font-size: var(--font-size-2);
  font-weight: 600;
  line-height: 21px;
  color: var(--button-primary-background);
  letter-spacing: -0.55px;
  white-space: nowrap;
  background-color: var(--primary-overlay-20);
  border-radius: var(--border-radius-sm);
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--default-animation-duration)
    var(--default-timing-function);
}

.dropZone:hover .extensionTag,
.dropZone:focus-visible .extensionTag {
  opacity: 1;
  transform: scale(1);
}

.extensionTag:nth-child(1) {
  /* .sql */
  top: 25px;
  right: -3px;
  transform: scale(0.8);
  transition-delay: 0.05s;
}

.dropZone:hover .extensionTag:nth-child(1),
.dropZone:focus-visible .extensionTag:nth-child(1) {
  transform: scale(1);
}

.extensionTag:nth-child(2) {
  /* .rb */
  top: 0px;
  left: 17px;
  transition-delay: 0.1s;
}

.extensionTag:nth-child(3) {
  /* .prisma */
  top: -4px;
  left: 55px;
  transition-delay: 0.15s;
}

.extensionTag:nth-child(4) {
  /* .json */
  top: 27px;
  left: -15px;
  transition-delay: 0.2s;
}
